package com.hjq.mallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjq.common.utils.PageUtils;
import com.hjq.mallproduct.entity.AttrEntity;
import com.hjq.mallproduct.entity.vo.AttrResponseVO;
import com.hjq.mallproduct.entity.vo.AttrVO;

import java.util.Map;

/**
 * 商品属性
 *
 * @author Hjq
 * @email 1484397309@qq.com.com
 * @date 2022-05-24 13:33:42
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttrByVO(AttrVO attr);

    PageUtils queryBasePage(Map<String, Object> params, Long categoryId, String type);

    AttrResponseVO getAttrInfoWithCatWholePath(Long attrId);

    void updateAttrByVO(AttrVO attr);


}

